<include file="Common:header" />
<table id="columns">
<tr>
<td id="main">

 <div id="welleft">	
	<div class="theysay"><strong>服务单集:</strong> &nbsp;&nbsp;&nbsp;&nbsp; <a href="<{:SITE_URL}>/Fuwudan/dlist?mines=on">我的单据</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="<{:SITE_URL}>/Fuwudan/dlist?minebuy=on">我买的单</a>&nbsp;&nbsp;&nbsp;&nbsp;	
	<a href="<{:SITE_URL}>/Fuwudan/dlist/afwd=on">全部单据</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="<{:SITE_URL}>/Fuwudan/dlist?good=on">好评单据</a>&nbsp;&nbsp;&nbsp;&nbsp;<a href="<{:SITE_URL}>/Fuwudan/dlist?bad=on">差评单据</a></div>
	<div class='clearline2'></div>
	<div class='title'></div>
	<div class="marqueegb">				
		<ol>
			<volist name="volfuwudanlist" id="volfuwudanlist">
			<!--最小单元-->
				  <li class="indexgbli">
					  <div>
						  <table border="0" width="100%">
							  <tr>
								  <td width="60px" valign="top"><a href="<{:SITE_URL}>/Setting/face" title="修改头像"><img src="<{:sethead($volfuwudanlist[user_head])}>" width="50px" height="50px" alt="<{$volfuwudanlist[user_name]}>" class="imgborder"></a>
								  </td>
								  <td valign="top">
									  <a href="<{:SITE_URL}>/<{$volfuwudanlist[user_name]}>"> <{$volfuwudanlist[user_name]}> </a><span class="guanxi"><php>if($volfuwudanlist['shifouweiqinyou']){</php> &nbsp;的<php>}</php><{$volfuwudanlist[hewodeganxi]}></span>&nbsp;&nbsp;单据<{$volfuwudanlist['fuwudanid']}>:(<{$volfuwudanlist['fuwudan_status']}>)<php>if($volfuwudanlist[shifoufukuan]){</php>---已付款<php>}else{</php>---未付款<php>}</php>&nbsp;&nbsp; &nbsp;服务购买人:<a  href="<{:SITE_URL}>/<{$volfuwudanlist[purchase_username]}>"><{$volfuwudanlist['purchase_username']}></a> <br>


									  <div class="indexgbli_fuwudan">
									  <table border="0" width="100%">
										  <tr>											 
											  <td valign="top">
												  <a href="<{:SITE_URL}>/<{$volfuwudanlist[user_name]}>"> <{$volfuwudanlist[user_name]}> </a><span class="guanxi"><php>if($volfuwudanlist[shifouweiqinyou]){</php> &nbsp;的<php>}</php><{$volfuwudanlist[hewodeganxi]}></span>&nbsp;&nbsp;<{$volfuwudanlist['fuwuleibieming']}>&nbsp;&nbsp;服务详情: <{$volfuwudanlist['fuwuxiangqing']}>
												  <div><div class="spl"> 
												  <{$volfuwudanlist['fuwubiaoti']}>
												  </div> 
												   <div class="spr">  
												  购买数:<{$volfuwudanlist['yongfugoumaishu']}> | 好评:<{$volfuwudanlist['haopinggeshu']}> |单价:<{$volfuwudanlist['fuwujiage']}>元 | <a href="<{:SITE_URL}>/Fuwu?id=<{$volfuwudanlist['fuwuid']}>">详情 </a>
												  </div>
												  </div>
												 
											  </td>
										  </tr>
									  </table>
								  </div>


									  <div><div class="spl"> 
									  <b>单据标题: </b><{$volfuwudanlist['fuwudan_biaoti']}> &nbsp;&nbsp;<b><{$volfuwudanlist['zidingyiwenti']}>:  </b><{$volfuwudanlist['zidingyiwenti_reply']}> 
									  </div> 
									   <div class="spr">  <a href="<{:SITE_URL}>/Fuwudan?id=<{$volfuwudanlist['fuwudanid']}>">详情 | </a><a href="javascript:void(0)" onclick="danjufukuan('<{:SITE_URL}>/Fuwudan/fukuan?id=<{$volfuwudanlist['fuwudanid']}>','确认要付款<{$volfuwudanlist['yingfujinger']}>元给<{$volfuwudanlist['user_name']}>?',this.parentNode.parentNode,'<{:SITE_URL}>/Fuwudan/dlist')"  title='YOUZIE单据付款'>付款</a>
									   <input onclick="cldetail(<{$volfuwudanlist['fuwudanid']}>)"  type="submit" class="button-service" value="处理" />
									  </div></div>
									 
								  </td>
							  </tr>
						  </table>
					  </div>
				  </li>
			  <!--最小单元--></volist>
	    </ol>
	</div>
 </div>
<div class='clearline'></div>
 

</td>
    <td id="sidebar" rowspan="2">
        <php>if($volfuwudanlist['user_id']==$volfuwudanlist[user_id]){</php><include file="Space:homeside" /><php>}else{</php><include file="Space:proside" /><php>}</php>
    </td>
</tr>
<tr>
    <td height="36px">
		<div class="green-black"><{$page_fuwudan}></div>
        <!-- <div id="indexpage" class="page"><{$page}></div> -->
    </td>
</tr>
</table>
<script type="text/javascript">	 
		function cldetail(id){
		    window.location.href="<{:SITE_URL}>/Fuwudan?id="+id;
	    }	
		//定义鼠标移动事件. 7/4/2011
		$("ol li").slice(0, <{$count}>).mouseover(function(){
                   $(this).addClass("indexgbli_light");
                   $(this).removeClass("indexgbli");
                });
                $("ol li").slice(0, <{$count}>).mouseout(function(){
                   $(this).addClass("indexgbli");
                   $(this).removeClass("indexgbli_light");
                });


		//定义服务单付款项.7/4/2011
		function danjufukuan(url,mes,obj,reurl) {
			//tologin();			
			var mymes;
			mymes=confirm(mes);
			if(mymes==true){
				document.location=url;
				/*
				$.get(url,
				function(msg){
					var stdata=jQuery.parseJSON(msg);
					if (stdata.ret=="success") {
						if (!reurl) {
							$(obj).animate({opacity: 'toggle'}, "slow");
							ye_msg.open(stdata.tip,1,1);
						} else {
							location.href=reurl;
							return;
						}
					} else {
						ye_msg.open(stdata.tip,3,2);
					}
				});
				*/
			}
		}
</script>


<include file="Common:foot" />